package com.jiantong.work.service;

import com.jiantong.work.model.DrugPurchaseRecord;
import io.terminus.common.model.Response;

import java.util.Map;

/**
 * Created by maowenjie on 2017/4/17.
 */
public interface DrugPurchaseRecordWriteService {
    /**
     * 新建采购中心-药物购置 单据
     * @param drugPurchaseRecord 防疫中心--无害化 单据
     * @param toStatus 到状态
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> createDrugPurchaseRecord(DrugPurchaseRecord drugPurchaseRecord, Integer toStatus);

    /**
     * 更新采购中心-药物购置 单据
     * @param drugPurchaseRecord 采购中心-疫苗购置单据
     * @param toStatus 到状态
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> updateDrugPurchaseRecord(DrugPurchaseRecord drugPurchaseRecord,Integer toStatus);

    Boolean update(DrugPurchaseRecord drugPurchaseRecord);
}
